package com.neuedu.yunong.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.neuedu.common.annotation.Excel;
import com.neuedu.common.core.domain.BaseEntity;

/**
 * 家庭成员经济对象 yunong_family_members
 * 
 * @author ruoyi
 * @date 2024-12-13
 */
public class YunongFamilyMembers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 关联到家庭信息表的主键ID */
    @Excel(name = "关联到家庭信息表的主键ID")
    private Long familyId;

    /** 成员姓名 */
    @Excel(name = "成员姓名")
    private String name;

    /** 民族 */
    @Excel(name = "民族")
    private String ethnicity;

    /** 政治面貌 */
    @Excel(name = "政治面貌")
    private String politicalStatus;

    /** 文化程度 */
    @Excel(name = "文化程度")
    private String educationLevel;

    /** 是否已经毕业 */
    @Excel(name = "是否已经毕业")
    private Integer hasGraduated;

    /** 健康状况 */
    @Excel(name = "健康状况")
    private String healthStatus;

    /** 收入来源 */
    @Excel(name = "收入来源")
    private String incomeSource;

    /** 其他收入来源 */
    @Excel(name = "其他收入来源")
    private String otherIncomeSource;

    /** 月收入 */
    @Excel(name = "月收入")
    private BigDecimal monthlyIncome;

    /** 个人年收入 */
    @Excel(name = "个人年收入")
    private BigDecimal annualIncome;

    /** 年收入（务农） */
    @Excel(name = "年收入", readConverterExp = "务=农")
    private BigDecimal annualIncomeFarmer;

    /** 辍学原因 */
    @Excel(name = "辍学原因")
    private String dropoutReason;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFamilyId(Long familyId) 
    {
        this.familyId = familyId;
    }

    public Long getFamilyId() 
    {
        return familyId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setEthnicity(String ethnicity) 
    {
        this.ethnicity = ethnicity;
    }

    public String getEthnicity() 
    {
        return ethnicity;
    }
    public void setPoliticalStatus(String politicalStatus) 
    {
        this.politicalStatus = politicalStatus;
    }

    public String getPoliticalStatus() 
    {
        return politicalStatus;
    }
    public void setEducationLevel(String educationLevel) 
    {
        this.educationLevel = educationLevel;
    }

    public String getEducationLevel() 
    {
        return educationLevel;
    }
    public void setHasGraduated(Integer hasGraduated) 
    {
        this.hasGraduated = hasGraduated;
    }

    public Integer getHasGraduated() 
    {
        return hasGraduated;
    }
    public void setHealthStatus(String healthStatus) 
    {
        this.healthStatus = healthStatus;
    }

    public String getHealthStatus() 
    {
        return healthStatus;
    }
    public void setIncomeSource(String incomeSource) 
    {
        this.incomeSource = incomeSource;
    }

    public String getIncomeSource() 
    {
        return incomeSource;
    }
    public void setOtherIncomeSource(String otherIncomeSource) 
    {
        this.otherIncomeSource = otherIncomeSource;
    }

    public String getOtherIncomeSource() 
    {
        return otherIncomeSource;
    }
    public void setMonthlyIncome(BigDecimal monthlyIncome) 
    {
        this.monthlyIncome = monthlyIncome;
    }

    public BigDecimal getMonthlyIncome() 
    {
        return monthlyIncome;
    }
    public void setAnnualIncome(BigDecimal annualIncome) 
    {
        this.annualIncome = annualIncome;
    }

    public BigDecimal getAnnualIncome() 
    {
        return annualIncome;
    }
    public void setAnnualIncomeFarmer(BigDecimal annualIncomeFarmer) 
    {
        this.annualIncomeFarmer = annualIncomeFarmer;
    }

    public BigDecimal getAnnualIncomeFarmer() 
    {
        return annualIncomeFarmer;
    }
    public void setDropoutReason(String dropoutReason) 
    {
        this.dropoutReason = dropoutReason;
    }

    public String getDropoutReason() 
    {
        return dropoutReason;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("familyId", getFamilyId())
            .append("name", getName())
            .append("ethnicity", getEthnicity())
            .append("politicalStatus", getPoliticalStatus())
            .append("educationLevel", getEducationLevel())
            .append("hasGraduated", getHasGraduated())
            .append("healthStatus", getHealthStatus())
            .append("incomeSource", getIncomeSource())
            .append("otherIncomeSource", getOtherIncomeSource())
            .append("monthlyIncome", getMonthlyIncome())
            .append("annualIncome", getAnnualIncome())
            .append("annualIncomeFarmer", getAnnualIncomeFarmer())
            .append("dropoutReason", getDropoutReason())
            .append("remarks", getRemarks())
            .toString();
    }
}
